package com.pkuse.bjousystem;

import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.security.core.userdetails.UsernameNotFoundException;

public interface MyUserDetailsService {
    public UserDetails loadEntityByIdAndType(String id, AuthEntity.AuthType type) throws UsernameNotFoundException, UnsupportedEntityTypeException;
}
